import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/device/check/statistic/list',
    method: 'post',
    data: data
  })
}

export function addOrUpdate(data) {
  return request({
    url: '/device/check/statistic/all',
    method: 'post',
    data: data
  })
}

export function getInfo(data) {
  return request({
    url: '/device/check/record/exceptionItemList/' + data,
    method: 'get'
  })
}

export function teamlist(data) {
  return request({
    url: '/device/basicInformation/maintenance/maintenanceList',
    method: 'post',
    data: data
  })
}
export function abnormal(data) {
  return request({
    url: '/device/check/statistic/abnormal',
    method: 'post',
    data: data
  })
}
